package tarantula.experiment.math;

import junit.framework.TestCase;

public class MathFailedTestsDDSliceBug1 extends TestCase {
	public void test1() throws Throwable {

	    java.lang.Double var0 = new java.lang.Double((-1.0d));
	    java.lang.Double var1 = new java.lang.Double(10.0d);
	    java.lang.Double var2 = new java.lang.Double(100.0d);
	    int var3 = org.apache.commons.math.util.MathUtils.compareTo((double)var0, (double)var1, (double)var2);
	    java.lang.Integer var4 = new java.lang.Integer(0);
	    java.lang.Long var5 = new java.lang.Long(100L);
	    org.apache.commons.math.dfp.DfpField var6 = new org.apache.commons.math.dfp.DfpField(var3);
	    java.lang.Double var7 = new java.lang.Double((-1.0d));
	    java.lang.Double var8 = new java.lang.Double(10.0d);
	    java.lang.Double var9 = new java.lang.Double(100.0d);
	    int var10 = org.apache.commons.math.util.MathUtils.compareTo((double)var7, (double)var8, (double)var9);
	    java.lang.Integer var11 = new java.lang.Integer(0);
	    org.apache.commons.math.dfp.DfpField var12 = new org.apache.commons.math.dfp.DfpField(var10);
	    org.apache.commons.math.dfp.Dfp var13 = var12.getOne();
	    java.lang.Double var14 = new java.lang.Double((-1.0d));
	    java.lang.Double var15 = new java.lang.Double(10.0d);
	    java.lang.Double var16 = new java.lang.Double(100.0d);
	    int var17 = org.apache.commons.math.util.MathUtils.compareTo((double)var14, (double)var15, (double)var16);
	    java.lang.Integer var18 = new java.lang.Integer(0);
	    java.lang.Long var19 = new java.lang.Long(100L);
	    org.apache.commons.math.dfp.DfpField var20 = new org.apache.commons.math.dfp.DfpField(var17);
	    org.apache.commons.math.dfp.Dfp var21 = var20.getOne();
	    java.lang.Double var22 = new java.lang.Double((-1.0d));
	    java.lang.Double var23 = new java.lang.Double(10.0d);
	    java.lang.Double var24 = new java.lang.Double(100.0d);
	    int var25 = org.apache.commons.math.util.MathUtils.compareTo((double)var22, (double)var23, (double)var24);
	    java.lang.Integer var26 = new java.lang.Integer(0);
	    org.apache.commons.math.dfp.DfpField var27 = new org.apache.commons.math.dfp.DfpField(var25);
	    java.lang.Double var28 = new java.lang.Double((-1.0d));
	    java.lang.Double var29 = new java.lang.Double(10.0d);
	    java.lang.Double var30 = new java.lang.Double(100.0d);
	    int var31 = org.apache.commons.math.util.MathUtils.compareTo((double)var28, (double)var29, (double)var30);
	    org.apache.commons.math.dfp.DfpField var32 = new org.apache.commons.math.dfp.DfpField(var31);
	    org.apache.commons.math.dfp.Dfp var33 = var32.getOne();
	    java.lang.Double var34 = new java.lang.Double((-1.0d));
	    java.lang.Double var35 = new java.lang.Double(10.0d);
	    java.lang.Double var36 = new java.lang.Double(100.0d);
	    int var37 = org.apache.commons.math.util.MathUtils.compareTo((double)var34, (double)var35, (double)var36);
	    org.apache.commons.math.dfp.DfpField var38 = new org.apache.commons.math.dfp.DfpField(var37);
	    org.apache.commons.math.dfp.Dfp var39 = var38.getOne();
	    org.apache.commons.math.dfp.Dfp var40 = var21.remainder(var39);
	    org.apache.commons.math.dfp.Dfp var41 = var13.remainder(var40);
	    
	    // Checks the contract:  var41.equals(var41)
	    assertTrue("Contract failed: var41.equals(var41)", var41.equals(var41));

	  }
	
	public void test5() throws Throwable {

	    java.lang.Double var0 = new java.lang.Double((-1.0d));
	    java.lang.Double var1 = new java.lang.Double(10.0d);
	    java.lang.Double var2 = new java.lang.Double(100.0d);
	    int var3 = org.apache.commons.math.util.MathUtils.compareTo((double)var0, (double)var1, (double)var2);
	    java.lang.Integer var4 = new java.lang.Integer(0);
	    java.lang.Long var5 = new java.lang.Long(100L);
	    org.apache.commons.math.dfp.DfpField var6 = new org.apache.commons.math.dfp.DfpField(var3);
	    org.apache.commons.math.dfp.Dfp var7 = var6.getOne();
	    java.lang.Double var8 = new java.lang.Double((-1.0d));
	    java.lang.Double var9 = new java.lang.Double(10.0d);
	    java.lang.Double var10 = new java.lang.Double(100.0d);
	    int var11 = org.apache.commons.math.util.MathUtils.compareTo((double)var8, (double)var9, (double)var10);
	    org.apache.commons.math.dfp.DfpField var12 = new org.apache.commons.math.dfp.DfpField(var11);
	    java.lang.Double var13 = new java.lang.Double((-1.0d));
	    java.lang.Double var14 = new java.lang.Double(10.0d);
	    java.lang.Double var15 = new java.lang.Double(100.0d);
	    int var16 = org.apache.commons.math.util.MathUtils.compareTo((double)var13, (double)var14, (double)var15);
	    java.lang.Integer var17 = new java.lang.Integer(0);
	    java.lang.Long var18 = new java.lang.Long(100L);
	    org.apache.commons.math.dfp.DfpField var19 = new org.apache.commons.math.dfp.DfpField(var16);
	    org.apache.commons.math.dfp.Dfp var20 = var19.getOne();
	    java.lang.Double var21 = new java.lang.Double((-1.0d));
	    java.lang.Double var22 = new java.lang.Double(10.0d);
	    java.lang.Double var23 = new java.lang.Double(100.0d);
	    int var24 = org.apache.commons.math.util.MathUtils.compareTo((double)var21, (double)var22, (double)var23);
	    java.lang.Integer var25 = new java.lang.Integer(0);
	    java.lang.Long var26 = new java.lang.Long(100L);
	    org.apache.commons.math.dfp.DfpField var27 = new org.apache.commons.math.dfp.DfpField(var24);
	    org.apache.commons.math.dfp.Dfp var28 = var27.getOne();
	    org.apache.commons.math.dfp.Dfp var29 = var7.remainder(var28);
	    org.apache.commons.math.dfp.Dfp var30 = new org.apache.commons.math.dfp.Dfp(var29);
	    org.apache.commons.math.dfp.Dfp var31 = org.apache.commons.math.dfp.DfpMath.log(var30);
	    
	    // Checks the contract:  var31.equals(var31)
	    assertTrue("Contract failed: var31.equals(var31)", var31.equals(var31));

	  }
	
	public void test8() throws Throwable {

	    java.lang.Double var0 = new java.lang.Double((-1.0d));
	    java.lang.Double var1 = new java.lang.Double(10.0d);
	    java.lang.Double var2 = new java.lang.Double(100.0d);
	    int var3 = org.apache.commons.math.util.MathUtils.compareTo((double)var0, (double)var1, (double)var2);
	    java.lang.Integer var4 = new java.lang.Integer(0);
	    org.apache.commons.math.dfp.DfpField var5 = new org.apache.commons.math.dfp.DfpField(var3);
	    java.lang.Double var6 = new java.lang.Double((-1.0d));
	    java.lang.Double var7 = new java.lang.Double(10.0d);
	    java.lang.Double var8 = new java.lang.Double(100.0d);
	    int var9 = org.apache.commons.math.util.MathUtils.compareTo((double)var6, (double)var7, (double)var8);
	    java.lang.Integer var10 = new java.lang.Integer(0);
	    org.apache.commons.math.dfp.DfpField var11 = new org.apache.commons.math.dfp.DfpField(var9);
	    org.apache.commons.math.dfp.Dfp var12 = var11.getOne();
	    java.lang.Double var13 = new java.lang.Double((-1.0d));
	    java.lang.Double var14 = new java.lang.Double(10.0d);
	    java.lang.Double var15 = new java.lang.Double(100.0d);
	    int var16 = org.apache.commons.math.util.MathUtils.compareTo((double)var13, (double)var14, (double)var15);
	    java.lang.Integer var17 = new java.lang.Integer(0);
	    org.apache.commons.math.dfp.DfpField var18 = new org.apache.commons.math.dfp.DfpField(var16);
	    java.lang.Double var19 = new java.lang.Double((-1.0d));
	    java.lang.Double var20 = new java.lang.Double(10.0d);
	    java.lang.Double var21 = new java.lang.Double(100.0d);
	    int var22 = org.apache.commons.math.util.MathUtils.compareTo((double)var19, (double)var20, (double)var21);
	    java.lang.Integer var23 = new java.lang.Integer(0);
	    org.apache.commons.math.dfp.DfpField var24 = new org.apache.commons.math.dfp.DfpField(var22);
	    org.apache.commons.math.dfp.Dfp var25 = var24.getOne();
	    org.apache.commons.math.dfp.Dfp var26 = var12.subtract(var25);
	    java.lang.Integer var27 = new java.lang.Integer(100);
	    java.lang.Double var28 = new java.lang.Double((-1.0d));
	    java.lang.Double var29 = new java.lang.Double(10.0d);
	    java.lang.Double var30 = new java.lang.Double(100.0d);
	    int var31 = org.apache.commons.math.util.MathUtils.compareTo((double)var28, (double)var29, (double)var30);
	    org.apache.commons.math.dfp.Dfp var32 = var26.divide((int)var31);
	    
	    // Checks the contract:  var32.equals(var32)
	    assertTrue("Contract failed: var32.equals(var32)", var32.equals(var32));

	  }
	
	 public void test14() throws Throwable {

		    java.lang.Double var0 = new java.lang.Double((-1.0d));
		    java.lang.Double var1 = new java.lang.Double(10.0d);
		    java.lang.Double var2 = new java.lang.Double(100.0d);
		    int var3 = org.apache.commons.math.util.MathUtils.compareTo((double)var0, (double)var1, (double)var2);
		    java.lang.Integer var4 = new java.lang.Integer(0);
		    java.lang.Long var5 = new java.lang.Long(100L);
		    org.apache.commons.math.dfp.DfpField var6 = new org.apache.commons.math.dfp.DfpField(var3);
		    java.lang.Double var7 = new java.lang.Double((-1.0d));
		    java.lang.Double var8 = new java.lang.Double(10.0d);
		    java.lang.Double var9 = new java.lang.Double(100.0d);
		    int var10 = org.apache.commons.math.util.MathUtils.compareTo((double)var7, (double)var8, (double)var9);
		    java.lang.Integer var11 = new java.lang.Integer(0);
		    org.apache.commons.math.dfp.DfpField var12 = new org.apache.commons.math.dfp.DfpField(var10);
		    org.apache.commons.math.dfp.Dfp var13 = var6.getSqr2();
		    java.lang.Double var14 = new java.lang.Double((-1.0d));
		    java.lang.Double var15 = new java.lang.Double(10.0d);
		    java.lang.Double var16 = new java.lang.Double(100.0d);
		    int var17 = org.apache.commons.math.util.MathUtils.compareTo((double)var14, (double)var15, (double)var16);
		    java.lang.Integer var18 = new java.lang.Integer(0);
		    org.apache.commons.math.dfp.DfpField var19 = new org.apache.commons.math.dfp.DfpField(var17);
		    org.apache.commons.math.dfp.Dfp var20 = var19.getE();
		    java.lang.Double var21 = new java.lang.Double((-1.0d));
		    java.lang.Double var22 = new java.lang.Double(10.0d);
		    java.lang.Double var23 = new java.lang.Double(100.0d);
		    int var24 = org.apache.commons.math.util.MathUtils.compareTo((double)var21, (double)var22, (double)var23);
		    java.lang.Integer var25 = new java.lang.Integer(0);
		    java.lang.Long var26 = new java.lang.Long(100L);
		    org.apache.commons.math.dfp.DfpField var27 = new org.apache.commons.math.dfp.DfpField(var24);
		    org.apache.commons.math.dfp.Dfp var28 = var27.getOne();
		    java.lang.Double var29 = new java.lang.Double((-1.0d));
		    java.lang.Double var30 = new java.lang.Double(10.0d);
		    java.lang.Double var31 = new java.lang.Double(100.0d);
		    int var32 = org.apache.commons.math.util.MathUtils.compareTo((double)var29, (double)var30, (double)var31);
		    java.lang.Integer var33 = new java.lang.Integer(0);
		    org.apache.commons.math.dfp.DfpField var34 = new org.apache.commons.math.dfp.DfpField(var32);
		    java.lang.Double var35 = new java.lang.Double((-1.0d));
		    java.lang.Double var36 = new java.lang.Double(10.0d);
		    java.lang.Double var37 = new java.lang.Double(100.0d);
		    int var38 = org.apache.commons.math.util.MathUtils.compareTo((double)var35, (double)var36, (double)var37);
		    java.lang.Integer var39 = new java.lang.Integer(0);
		    org.apache.commons.math.dfp.DfpField var40 = new org.apache.commons.math.dfp.DfpField(var38);
		    org.apache.commons.math.dfp.Dfp var41 = var40.getOne();
		    java.lang.Double var42 = new java.lang.Double((-1.0d));
		    java.lang.Double var43 = new java.lang.Double(10.0d);
		    java.lang.Double var44 = new java.lang.Double(100.0d);
		    int var45 = org.apache.commons.math.util.MathUtils.compareTo((double)var42, (double)var43, (double)var44);
		    java.lang.Integer var46 = new java.lang.Integer(0);
		    java.lang.Long var47 = new java.lang.Long(100L);
		    org.apache.commons.math.dfp.DfpField var48 = new org.apache.commons.math.dfp.DfpField(var45);
		    org.apache.commons.math.dfp.Dfp var49 = var48.getOne();
		    org.apache.commons.math.dfp.Dfp var50 = org.apache.commons.math.dfp.DfpMath.acos(var20);
		    
		    // Checks the contract:  var50.equals(var50)
		    assertTrue("Contract failed: var50.equals(var50)", var50.equals(var50));

		  }

		  public void test15() throws Throwable {

		    java.lang.Double var0 = new java.lang.Double((-1.0d));
		    java.lang.Double var1 = new java.lang.Double(10.0d);
		    java.lang.Double var2 = new java.lang.Double(100.0d);
		    int var3 = org.apache.commons.math.util.MathUtils.compareTo((double)var0, (double)var1, (double)var2);
		    java.lang.Integer var4 = new java.lang.Integer(0);
		    org.apache.commons.math.dfp.DfpField var5 = new org.apache.commons.math.dfp.DfpField(var3);
		    org.apache.commons.math.dfp.Dfp var6 = var5.getZero();
		    java.lang.Double var7 = new java.lang.Double((-1.0d));
		    java.lang.Double var8 = new java.lang.Double(10.0d);
		    java.lang.Double var9 = new java.lang.Double(100.0d);
		    int var10 = org.apache.commons.math.util.MathUtils.compareTo((double)var7, (double)var8, (double)var9);
		    java.lang.Integer var11 = new java.lang.Integer(0);
		    org.apache.commons.math.dfp.DfpField var12 = new org.apache.commons.math.dfp.DfpField(var10);
		    org.apache.commons.math.dfp.Dfp var13 = var12.getOne();
		    java.lang.Double var14 = new java.lang.Double((-1.0d));
		    java.lang.Double var15 = new java.lang.Double(0.0d);
		    java.lang.Double var16 = new java.lang.Double((-1.0d));
		    double[] var17 = new double[] { var14, var15, var16};
		    org.apache.commons.math.linear.ArrayRealVector var18 = new org.apache.commons.math.linear.ArrayRealVector(var17);
		    java.lang.Double var19 = new java.lang.Double((-1.0d));
		    java.lang.Double var20 = new java.lang.Double(0.0d);
		    java.lang.Double var21 = new java.lang.Double((-1.0d));
		    double[] var22 = new double[] { var19, var20, var21};
		    org.apache.commons.math.linear.ArrayRealVector var23 = new org.apache.commons.math.linear.ArrayRealVector(var22);
		    int var24 = var18.getMaxIndex();
		    java.lang.Double var25 = new java.lang.Double((-1.0d));
		    java.lang.Double var26 = new java.lang.Double(10.0d);
		    java.lang.Double var27 = new java.lang.Double(100.0d);
		    java.lang.Double var28 = new java.lang.Double(1.0d);
		    java.lang.Double var29 = new java.lang.Double(1.0d);
		    java.lang.Double var30 = new java.lang.Double((-1.0d));
		    java.lang.Double var31 = new java.lang.Double(10.0d);
		    java.lang.Double var32 = new java.lang.Double(100.0d);
		    boolean var33 = org.apache.commons.math.util.MathUtils.equalsIncludingNaN((double)var27, (double)var29, (double)var32);
		    org.apache.commons.math.stat.descriptive.MultivariateSummaryStatistics var34 = new org.apache.commons.math.stat.descriptive.MultivariateSummaryStatistics(var24, var33);
		    java.lang.String var35 = var34.toString();
		    org.apache.commons.math.dfp.Dfp var36 = var5.newDfp(var35);
		    
		    // Checks the contract:  equals-hashcode on var6 and var36
		    assertTrue("Contract failed: equals-hashcode on var6 and var36", var6.equals(var36) ? var6.hashCode() == var36.hashCode() : true);
		    
		    // Checks the contract:  equals-hashcode on var36 and var6
		    assertTrue("Contract failed: equals-hashcode on var36 and var6", var36.equals(var6) ? var36.hashCode() == var6.hashCode() : true);

		  }
}
